'''
Date: 2022-06-27 15:04:09
LastEditTime: 2022-06-27 15:28:55
'''
import cv2
cover_path = './example1.jpg'
im1 = cv2.imread(cover_path)  
im2 = cv2.resize(im1, (300,300))
cv2.imwrite('./p1.jpg', im2)